import request from '@/utils/request'

// 查询四级联考递补身份验证列表
export function listDb_identity(query) {
  return request({
    url: '/system/db_identity/list',
    method: 'get',
    params: query
  })
}
export function getPrint() {
  return request({
    url: '/system/db_identity/getTitle',
    method: 'get'
  })
}
// 查询四级联考递补身份验证详细
export function getDb_identity(id) {
  return request({
    url: '/system/db_identity/' + id,
    method: 'get'
  })
}

// 新增四级联考递补身份验证
export function addDb_identity(data) {
  return request({
    url: '/system/db_identity',
    method: 'post',
    data: data
  })
}

// 修改四级联考递补身份验证
export function updateDb_identity(data) {
  return request({
    url: '/system/db_identity',
    method: 'put',
    data: data
  })
}

// 删除四级联考递补身份验证
export function delDb_identity(id) {
  return request({
    url: '/system/db_identity/' + id,
    method: 'delete'
  })
}

// 导出四级联考递补身份验证
export function exportDb_identity(query) {
  return request({
    url: '/system/db_identity/export',
    method: 'post',
    params: query
  })
}

// 获取四级联考递补身份验证导入模板
export function importDb_identityTemplate() {
  return request({
    url: '/system/db_identity/importTemplate',
    method: 'get'
  })
}

// 导入四级联考递补身份验证数据
export function importDb_identityData(data) {
  return request({
    url: '/system/db_identity/importData',
    method: 'post',
    data: data
  })
}

// 生成递补体能测评名单
export function generateDbPhysicalList() {
  return request({
    url: '/system/db_identity/generateDbPhysicalList',
    method: 'post'
  })
}
